
import 'package:json_annotation/json_annotation.dart';

part 'BannerData.g.dart';

@JsonSerializable()
class BannerData{
  String? imagePath;
  int? id;
  int? isVisible;
  String? title;
  int? type;
  String? url;
  String? desc;
  int? order;

  BannerData({this.imagePath, this.id, this.isVisible, this.title, this.type,
    this.url, this.desc, this.order});


  factory BannerData.fromJson(Map<String,dynamic> json) => _$BannerDataFromJson(json);

  Map<String,dynamic> toJson() => _$BannerDataToJson(this);
}